package com.dhj.jvmstudy.chapter04;

/**
 * 动态链接
 */
public class DynamicLinkingTest {

    private int num = 10;

    public void methodA(){
        System.out.println("methodA...");
    }

    public void methodB(){
        System.out.println("methodB...");

        methodA();

        num ++;
    }

}
